﻿using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Linq;
using System.Text;
using System.Data.Entity;
using PeopleEntity;

namespace PeopleDal
{
    public class PeopleContext:DbContext
    {
        public DbSet<PeopleBase> Peoples { get; set; }
        public DbSet<News> News { get; set; }

        public PeopleContext():base()
        {
        }
        public  PeopleContext(string namebase):base(namebase)
        {
        }
        public  PeopleContext(DbConnection connection):base(connection, false)
        {
        }
    }
}
